<template>
    <el-dialog :title="title" v-model="open" width="600px" append-to-body>
        <img :src="src" alt="" width="800" height="100%">
    </el-dialog>
</template>

<script>
    export default {
        data() {
            return {
                title:'ppt预览',
                open:false,
                src:null,
            }
        },
        methods: {
            show(src) {
                this.open = true
                this.src = src
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>